using B.S.Requst;
using MediatR;
using System;

namespace B.S.Data.MES.API.Applications.B.S.KApplications.Command.InvoiceReceiptCommand
{
    /// <summary>
    /// 添加到票命令
    /// 用于处理到票信息的新增请求
    /// </summary>
    public class AddInvoiceReceiptCommand : IRequest<APIRequst<int>>
    {
        /// <summary>
        /// 发票ID
        /// </summary>
        public int InvoiceId { get; set; }

        /// <summary>
        /// 到票日期
        /// </summary>
        public DateTime ReceiptDate { get; set; }

        /// <summary>
        /// 到票金额
        /// </summary>
        public decimal ReceiptAmount { get; set; }

        /// <summary>
        /// 到票状态
        /// 0：部分到票，1：全部到票，2：未到票
        /// </summary>
        public int ReceiptStatus { get; set; }

        /// <summary>
        /// 收款方式
        /// </summary>
        public string PaymentMethod { get; set; }

        /// <summary>
        /// 交易流水号
        /// </summary>
        public string TransactionNo { get; set; }

        /// <summary>
        /// 备注
        /// </summary>
        public string Remarks { get; set; }

        /// <summary>
        /// 创建人
        /// </summary>
        public string CreateName { get; set; }
    }
}